package com.logisticsrepair.mapper;

import com.logisticsrepair.entity.RepairOrdersEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @author huahua
 * @description 针对表【repair_orders(报修订单)】的数据库操作Mapper
 * @createDate 2022-03-12 20:10:16
 * @Entity com.logisticsrepair.entity.RepairOrdersEntity
 */
@Repository
public interface RepairOrdersMapper extends BaseMapper<RepairOrdersEntity> {

    List<RepairOrdersEntity> queryNewOrders();

    List<RepairOrdersEntity> queryUserOrderRecode(@Param("userOpenid") String userOpenid);

    List<RepairOrdersEntity> queryWorkerOrder(Map<String, Object> condition);

}




